package com.bishe.psy.service;

import com.bishe.psy.model.AdmUser;


/**
 * Created with Intellij IDEA.
 * Description:
 * User: L
 * Date: 2024-03-28
 * Time: 17:32
 */
public interface IAdmUserService {

    //根据用户名查询信息
    AdmUser AdmselectByName(String username);

    //登录
    AdmUser login(String username, String password);

    //修改个人信息
    void modifyAdmInfo(AdmUser admUser);

    //根据用户id查询用户信息
    AdmUser selectByPrimaryKey(Long id);

    //修改密码
    void modifyPassword(Long id,String oldPassword,String newPassword);
}
